@import './base.less';

body {
  // 给网页设置一个背景色
  background-color: #fff;
  overflow: hidden;
  // 头部区域
  header {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    height: 11.7333vw;

    color: #000;
    h1 {
      font-size: 4.2667vw;
    }
  }
  // 主题区域
  .main {
    display: flex;
    width: 100%;
    padding-top: 11.7333vw;
    padding-bottom: 13.3333vw;
    // 搜索框
    .search {
      background-color: #fff;
      position: fixed;
      z-index: 999;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 15.2vw;
      padding-left: 2.9333vw;
      padding-right: 2.9333vw;
      .input {
        border-radius: 6.6667vw;
        flex: 1;
        height: 8.8vw;
        background-color: #f7f7f7;
        text-align: center;
        line-height: 8.8vw;
        color: #6d6d6d;
        font-size: 3.2vw;
        span {
          font-size: 4.8vw;
          vertical-align: middle;
        }
      }
    }
    // 左区域
    .left {
      &::-webkit-scrollbar {
        display: none;
      }
      margin-top: 15.2vw;
      width: 22.9333vw;
      overflow: auto;
      height: 137.3333vw;
      background-color: #f7f7f7;

      span {
        display: block;
        height: 12vw;
        line-height: 12vw;
        text-align: center;
        font-size: 3.4667vw;
        color: #444;

        &.active {
          font-size: 3.7333vw;
          color: #fa2209;
          background-color: #fff;
        }
      }
    }
    // 右区域
    .right {
      &::-webkit-scrollbar {
        display: none;
      }
      overflow: auto;
      height: 133.3333vw;
      margin-top: 15.2vw;
      flex: 1;
      background-color: #fff;
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;

      a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 33.33%;
        height: 30.9333vw;

        img {
          width: 19.4667vw;
          height: 19.4667vw;
        }
        p {
          font-size: 3.4667vw;
          color: #444;
        }
      }
    }
  }
  // 底部区域
  footer {
    width: 100%;
    position: fixed;
    background-color: rgb(255, 255, 255);
    left: 0;
    bottom: 0;
    z-index: 999;
    height: 13.3333vw;
    display: flex;
    align-items: center;
    text-align: center;
    border-top: black solid 1px;

    a {
      width: 25%;
      color: black;
      font-size: 3.2vw;
      .iconfont {
        font-size: 5.3333vw;
      }
      p {
        margin-top: 1.5vw;
      }
      &.active {
        color: red;
      }
    }
  }
}
